import { PageSelecter } from "./PageSelecter";
type int = number;
//class PageSelecterOnlyPreNext

    export  class PageSelecterOnlyPreNext extends PageSelecter
    {
        constructor()
        {
            super();
            return;
        }

        protected /* override */ createDisposedChildrenImpl(): void
        {
            super.createDisposedChildrenImpl();
            this.mode = SingleMode;
            this._pageText.visible = false;
            this._pageText.mouseEnabled = false;
            return;
        }

        public setPreNextBtnDistance(arg1: int): void
        {
            this._nextPageBtn.x = arg1;
            return;
        }

        protected /* override */ drawNow(): void
        {
            super.drawNow();
            this._prevPageBtn.x = 0;
            if (this._dx != 0) 
            {
                this._nextPageBtn.x = this._dx;
            }
            return;
        }

        /* internal */ /* var */_dx: int=0;
    }
